package com.intellagric.mapper;

import com.intellagric.pojo.RecommendTemplate;
import com.intellagric.pojo.RecommendTemplateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RecommendTemplateMapper {
    long countByExample(RecommendTemplateExample example);

    int deleteByExample(RecommendTemplateExample example);

    int deleteByPrimaryKey(String id);

    int insert(RecommendTemplate record);

    int insertSelective(RecommendTemplate record);

    List<RecommendTemplate> selectByExample(RecommendTemplateExample example);

    RecommendTemplate selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") RecommendTemplate record, @Param("example") RecommendTemplateExample example);

    int updateByExample(@Param("record") RecommendTemplate record, @Param("example") RecommendTemplateExample example);

    int updateByPrimaryKeySelective(RecommendTemplate record);

    int updateByPrimaryKey(RecommendTemplate record);
}